import request from "./request";


// house模块
export const $houseScene = ()=> {
    return request.get('/house/scene');
}
export const $houseDetail = (id)=> {
    return request.get('/house/detail?id='+id);
}


// 城市列表
export const $houseCity = ()=> {
    return request.get('/house/city');
}
// 推荐列表
export const $houseRecommend = ()=> {
    return request.get('/house/recommend');
}
 
// 足迹
export const $browseList = ()=> {
    return request.get('/browse/list');
}
export const $browseAdd = (houseId)=> {
    return request.get('/browse/add?houseId='+houseId);
}

// 收藏
export const $loveList = ()=> {
    return request.get('/love/list');
}
 
// 发现
export const $discoverList = (data)=> {
    return request.get('/discover/list',data);
}
 
// 获取验证码
export const $userGetSmsCode = (data)=> {
    return request.get('/user/getSmsCode',data);
}
 
 
// 获取验证码
export const $userLoginBySmsCode = (data)=> {
    return request.get('/user/loginBySmsCode',data);
}
 